package com.handpay.nocardpay.baselibrary.qualificationinfo.model.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.handpay.nocardpay.baselibrary.commbase.model.bean.BaseResponseBean;

/**
 * Created by fplei on 2017/8/14.
 * 四要素校验返回实例
 */

public class ThreeElementResult extends BaseResponseBean implements Parcelable {
    private String status;
    private String cardNo;
    private String transSN;
    private String transTime;
    private String message;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getTransSN() {
        return transSN;
    }

    public void setTransSN(String transSN) {
        this.transSN = transSN;
    }

    public String getTransTime() {
        return transTime;
    }

    public void setTransTime(String transTime) {
        this.transTime = transTime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "ThreeElementResult{" +
                "status='" + status + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", transSN='" + transSN + '\'' +
                ", transTime='" + transTime + '\'' +
                ", message='" + message + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.status);
        dest.writeString(this.cardNo);
        dest.writeString(this.transSN);
        dest.writeString(this.transTime);
        dest.writeString(this.message);
    }

    public ThreeElementResult() {
    }

    protected ThreeElementResult(Parcel in) {
        this.status = in.readString();
        this.cardNo = in.readString();
        this.transSN = in.readString();
        this.transTime = in.readString();
        this.message = in.readString();
    }

    public static final Creator<ThreeElementResult> CREATOR = new Creator<ThreeElementResult>() {
        @Override
        public ThreeElementResult createFromParcel(Parcel source) {
            return new ThreeElementResult(source);
        }

        @Override
        public ThreeElementResult[] newArray(int size) {
            return new ThreeElementResult[size];
        }
    };
}
